@extends('host.custom.common.common')

@section('c-head')
    <script>

        var PAGE_DATA = {
            publishSupplyHref: "{{ route('account.offer.create') }}",
            pagingObj: {
                total: 0,
                pageSize: 7,
                page: 0
            }
        };


    </script>
    @stop

    @section('body')
            <!-- top_test -->
    <div id="top_test"></div>

    <!-- web_logo_search -->
    <div id="web_logo_search"></div>

    <!-- comm_nav -->
    <div id="comm_nav"></div>

    <div class="com-w mt20">
        <div class="wrapper clearfix">
            <div class="w220 mr20 comm-left-menu">
                <div class="menu-top-title">供应商中心</div>
                <div id="leftmenuitems"></div>
            </div>

            <div class="w960 comm-main">
                <div class="main-release clearfix">
                    <div class="main-release-nav">您当前的位置：首页 > 供应商中心 > 管理供应报盘</div>
                    <div class="main-release-title">
                        <span class="icons"></span>
                        <span class="release-title-h3 f16">管理供应报盘</span>
                    </div>
                    <div class="main-release-from">
                        <div class="h60">
                            <a href="#" id="publish_supply_info" class="btn btn-default comm-right-btn">发布供应报盘</a>
                        </div>

                        <div id="commTabs_1" class="comm-tabs">
                            <div class="comm-tabs-head">
                                <div class="head-item current">报盘管理</div>
                                <div class="head-item">已取消</div>
                            </div>
                            <div class="comm-tabs-body">
                                <div id="tab-body-0" class="body-item current">
                                    <div class="comm-tbl">
                                        <div class="head">
                                            <ul class="clearfix">
                                                <li class="w180">产品标题</li>
                                                <li class="w80">价格(元)</li>
                                                <li class="w100">单位</li>
                                                <li class="w100">数量</li>
                                                <li class="w100">起订量</li>
                                                <li class="w100">发布日期</li>
                                                <li class="w100">地区</li>
                                                <li class="w200">操作</li>
                                            </ul>
                                        </div>
                                        <div id="commTabs_body_0" class="body clearfix"></div>

                                    </div>
                                    <div id="comm-paging-0" class="comm-paging" style="float: right;"></div>
                                    <input type="hidden" id="sel-status-0" class="sel-status" value="0"/>
                                </div>
                                <div id="tab-body-1" class="body-item ">
                                    <div class="comm-tbl">
                                        <div class="head">
                                            <ul class="clearfix">
                                                <li class="w180">产品标题</li>
                                                <li class="w80">价格(元)</li>
                                                <li class="w100">单位</li>
                                                <li class="w200">数量</li>
                                                <li class="w100">发布日期</li>
                                                <li class="w200">地区</li>
                                            </ul>
                                        </div>
                                        <div id="commTabs_body_1" class="body clearfix"></div>

                                    </div>
                                    <div class="comm-paging" id="comm-paging-1" style="float: right;"></div>

                                    <input type="hidden" id="sel-status-1" class="sel-status" value="1"/>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- foot_nav -->
    <div id="foot_nav"></div>

    <div id="bottom_main"></div>

    <script type="text/template" id="item_template_0">
        <%_.each(obj, function(item){%>
        <ul class="clearfix">
            <li class="w180 double-line "><a href="#" class="link-txt f-coffee" style="line-height: 60px"
                                             title="<%=item.goodsname %>"> <%=item.goodsname %></a></li>
            <li class="w80 f-red"> ￥<%=item.price %></li>
            <li class="w100 f-grey-1"> <%=item.unit %></li>
            <li class="w100 f-grey-1"> <%=item.amount %></li>
            <li class="w100"> <%=item.orderamount %></li>
            <li class="w100 f-grey-2"> <%=item.pubdate %></li>
            <li class="w100 f-grey-2"> <%=item.district %></li>
            <li class="w200">
                <a class="btn btn-warn editor-btn" href="<%=item.href%>">编辑</a>

                <div class="btn btn-default cancel-btn" record-id="<%=item.id%>">取消</div>
            </li>
        </ul>
        <%});%>
    </script>
    <script type="text/template" id="item_template_1">
        <%_.each(obj, function(item){%>
        <ul class="clearfix">
            <li class="w180 double-line "><a href="#" class="link-txt f-coffee" style="line-height: 60px"
                                             title="<%=item.goodsname %>"
                                             title="<%=item.goodsname %>"> <%=item.goodsname %></a></li>
            <li class="w80 f-red">￥<%=item.price %></li>
            <li class="w100 f-grey-1"><%=item.unit %></li>
            <li class="w200 f-grey-1"><%=item.amount %></li>
            <li class="w100 f-grey-2"><%=item.pubdate %></li>
            <li class="w200 f-grey-2"><%=item.district %></li>
        </ul>
        <%});%></script>

    <script type="text/javascript" src="/assets/b2b/js/libs/dialog-min.js"></script>
    <script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
    <script type="text/javascript" src="/assets/b2b/js/libs/page/common.plugin.js"></script>

    <script src="/assets/b2b/js/pageModules/supplyer/S2.js"></script>
@stop